public class VectorDemo
{
	public static void main(String[] args) {
		int b=10;
		int a[] = new int[3];
		try
		{
			a[0]=10;
			a[1]=10;
			a[2]=10;
			a[3]=10;
		}catch (ArithmeticException e)
		{
			e.printStackTrace();
		}			
			try
			{
			System.out.println(b/0);
		}catch (ArrayIndexOutOfBoundsException e) {
			e.printStackTrace();
		}catch (ArithmeticException k) 
		{
		k.printStackTrace();
		}
	}
}
